package com.ruoyi.project.channel.clientInfo.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.framework.web.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

/**
 * 客户端操作表 client_info
 * 
 * @author zero
 * @date 2019-04-30
 */
public class ClientInfo extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** id */
	private String clientId;
	/** 支付宝操作类型 */
	private String action;
	/** 通道编号 */
	private String channelId;
	/** 客户端操作详细日志 */
	private String data;
	/** 设备编号 */
	private String deviceNum;
	/** 签名 */
	private String sign;
	/** 时间 */
	private Date time;
	/** 支付宝操作类型 */
	private String type;
	/** 当前版本 */
	private String version;
	/** 付款方id */
	private String fromUid;
	/** 付款方别名 */
	private String fromAlias;
	/** 付款方账号 */
	private String fromName;
	/**
	 * 匹配平台订单号结果 0 成功  1失败
	 */
	private String orderStatus;
	/** 金额 */
	private BigDecimal amount;
	/** 账号 */
	private String account;
	/** 订单id */
	private String orderId;
	private String orderList;
	public void setClientId(String clientId) 
	{
		this.clientId = clientId;
	}

	public String getClientId() 
	{
		return clientId;
	}
	public void setAction(String action) 
	{
		this.action = action;
	}

	public String getAction() 
	{
		return action;
	}
	public void setChannelId(String channelId) 
	{
		this.channelId = channelId;
	}

	public String getChannelId() 
	{
		return channelId;
	}
	public void setData(String data) 
	{
		this.data = data;
	}

	public String getData() 
	{
		return data;
	}
	public void setDeviceNum(String deviceNum) 
	{
		this.deviceNum = deviceNum;
	}

	public String getDeviceNum() 
	{
		return deviceNum;
	}
	public void setSign(String sign) 
	{
		this.sign = sign;
	}

	public String getSign() 
	{
		return sign;
	}
	public void setTime(Date time) 
	{
		this.time = time;
	}

	public Date getTime() 
	{
		return time;
	}
	public void setType(String type) 
	{
		this.type = type;
	}

	public String getType() 
	{
		return type;
	}
	public void setVersion(String version) 
	{
		this.version = version;
	}

	public String getVersion() 
	{
		return version;
	}
	public void setFromUid(String fromUid) 
	{
		this.fromUid = fromUid;
	}

	public String getFromUid() 
	{
		return fromUid;
	}
	public void setFromAlias(String fromAlias) 
	{
		this.fromAlias = fromAlias;
	}

	public String getFromAlias() 
	{
		return fromAlias;
	}
	public void setFromName(String fromName) 
	{
		this.fromName = fromName;
	}

	public String getFromName() 
	{
		return fromName;
	}
	public void setAmount(BigDecimal amount) 
	{
		this.amount = amount;
	}

	public BigDecimal getAmount() 
	{
		return amount;
	}
	public void setAccount(String account) 
	{
		this.account = account;
	}

	public String getAccount() 
	{
		return account;
	}
	public void setOrderId(String orderId) 
	{
		this.orderId = orderId;
	}

	public String getOrderId() 
	{
		return orderId;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("clientId", getClientId())
            .append("action", getAction())
            .append("channelId", getChannelId())
            .append("data", getData())
            .append("deviceNum", getDeviceNum())
            .append("sign", getSign())
            .append("time", getTime())
            .append("type", getType())
            .append("version", getVersion())
            .append("fromUid", getFromUid())
            .append("fromAlias", getFromAlias())
            .append("fromName", getFromName())
            .append("amount", getAmount())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("account", getAccount())
            .append("orderId", getOrderId())
			.append("orderList", getOrderList())
            .toString();
    }

	public String getOrderStatus() {
		return orderStatus;
	}

	public void setOrderStatus(String orderStatus) {
		this.orderStatus = orderStatus;
	}

	public String getOrderList() {
		return orderList;
	}

	public void setOrderList(String orderList) {
		this.orderList = orderList;
	}
}
